#include "UdpServer.hpp"
#include <memory>

int main(int argc, char *argv[])
{
    if (argc != 2)
        return 1;
    uint16_t port = std::stoi(argv[1]);
    std::shared_ptr<UdpServer> udpsvr = std::make_shared<UdpServer>(port);
    udpsvr->Init();
    udpsvr->Start();
}